package com.ruoyi.check.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检点子项对象 e_check_list_form_item
 * 
 * @author hugh.sun
 * @date 2023-03-23
 */
public class ECheckListFormItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 题目表主键 */
    @Excel(name = "题目表主键")
    private Long nameId;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long itemType;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String itemLabel;

    /** 题目备注 */
    @Excel(name = "题目备注")
    private String itemRemark;

    /** 限制 */
    @Excel(name = "限制")
    private Long itemRestrict;

    /** 题目子选项id */
    @Excel(name = "题目子选项id")
    private Long itemSubLabel;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNameId(Long nameId) 
    {
        this.nameId = nameId;
    }

    public Long getNameId() 
    {
        return nameId;
    }
    public void setItemType(Long itemType) 
    {
        this.itemType = itemType;
    }

    public Long getItemType() 
    {
        return itemType;
    }
    public void setItemLabel(String itemLabel) 
    {
        this.itemLabel = itemLabel;
    }

    public String getItemLabel() 
    {
        return itemLabel;
    }
    public void setItemRemark(String itemRemark) 
    {
        this.itemRemark = itemRemark;
    }

    public String getItemRemark() 
    {
        return itemRemark;
    }
    public void setItemRestrict(Long itemRestrict) 
    {
        this.itemRestrict = itemRestrict;
    }

    public Long getItemRestrict() 
    {
        return itemRestrict;
    }
    public void setItemSubLabel(Long itemSubLabel) 
    {
        this.itemSubLabel = itemSubLabel;
    }

    public Long getItemSubLabel() 
    {
        return itemSubLabel;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nameId", getNameId())
            .append("itemType", getItemType())
            .append("itemLabel", getItemLabel())
            .append("itemRemark", getItemRemark())
            .append("itemRestrict", getItemRestrict())
            .append("itemSubLabel", getItemSubLabel())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .toString();
    }
}
